(function() {
    angular.module('BlurAdmin.pages.Journal', [])
        .config(routeCnig);

    function routeCnig($stateProvider) {
        if (is_suer_root.systemlogs) {
            $stateProvider
                .state('Journal', {
                    url: '/Journal',
                    title: '系统日志',
                    templateUrl: 'app/pages/Journal/Journal.html',
                    abstract: false,
                    controller: "JournalCtrl",
                    sidebarMeta: {
                        icon: 'glyphicon glyphicon-file',
                        order: 152,
                    }
                })
        }

    }
})();